﻿// Written by Dale J Williams.
// Licensed under MPL 1.1 unless otherwise specified. 
// http://www.mozilla.org/MPL/MPL-1.1.html

package engineDJW.interfaces {
	
	import flash.events.IEventDispatcher;
	
	/**
	 * ...
	 * @author Dale J Williams
	 */
	public interface ILoadable extends IEventDispatcher {
		
		function load($url:String=null):void;
		
		function get loadPercent():Number;
		
		function get loadCompleted():Boolean;
		
		function get name():String;
		function set name(value:String):void;
		
		function get url():String;
		function set url(value:String):void;
		
	}
	
}